package com.xzl.time.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * @describe ：修改文章参数类
 * @PageLocation:
 * @Auther xzl
 * @Date 2021/12/13 17:46
 */
@Data
@ApiModel("文章修改类")
public class UpdArticleVo {
    @ApiModelProperty("id")
    private String id;
    @NotBlank(message = "不能为空！")
    @ApiModelProperty(value = "标题")
    private String title;

    @NotBlank(message = "不能为空！")
    @ApiModelProperty(value = "文章正文")
    private String content;

    @NotBlank(message = "不能为空！")
    @ApiModelProperty(value = "文章封面")
    private String image;

    @ApiModelProperty(value = "修改日期")
    private Timestamp updatetime;
}
